﻿
using System;
using System.ComponentModel;

namespace ApiTest.Entitys
{

    public class DefaultEnums
    {
        public static Type[] GetEnumTypes()
        {
            return new Type[] {
                typeof(SaleChannelEnum),
                typeof(AttributeTypeEnum),
                typeof(KeyTypeEnum),
                typeof(StockTypeEnum),
            };
        }
    }


    /// <summary>
    /// 销售渠道 枚举
    /// </summary>
    [Flags]
    public enum SaleChannelEnum
    {
        物流快递 = 1,
        门店领取 = 2
    }


    /// <summary>
    /// 控件类型 枚举
    /// </summary>
    public enum AttributeTypeEnum
    {
        文本,
        多行文本,
        日期,
        单选项,
        多选项,
        开关
    }


    /// <summary>
    /// 关键词类型 枚举
    /// </summary>
    public enum KeyTypeEnum
    {
        类型,
        品牌,
        属性
    }


    /// <summary>
    /// 库存类型[初始化 枚举
    /// </summary>
    public enum StockTypeEnum
    {
        初始化,
        出库,
        入库,
        盘点,
        销毁
    }

}